<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据中心</title>
    <link rel="stylesheet" href="/plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/dataCenter.css">
</head>

<body>
    <header id="de-head">

    </header>

    <div class="de-main dc-main">
        <div class="w1200">
            <div class="banner">
                <img src="/images/dataCenter/banner.png" alt="">
            </div>
            <div class="dc-block">
                <div class="dc-block-item">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>现货价格</h2>
                            <span>最近更新：2023-01-30</span>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            更多 >
                        </a>
                    </div>
                    <div class="dc-echars">
                        <div id="store-price-echars" style="width: 346px;height:210px;"></div>
                    </div>
                </div>
                <div class="dc-block-item">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>物流价格</h2>
                            <span>最近更新：2023-01-30</span>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            更多 >
                        </a>
                    </div>
                    <div class="dc-echars">
                        <div id="logistics-price-echars" style="width: 346px;height:210px;"></div>
                    </div>
                </div>
                <div class="dc-block-item">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>库存查询</h2>
                            <span>最近更新：2023-01-30</span>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            更多 >
                        </a>
                    </div>
                    <div class="dc-echars">
                        <div id="store-query-echars" style="width: 346px;height:210px;"></div>
                    </div>
                </div>
            </div>
            <div class="dc-block2">
                <div class="dc-block2-left">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>福州专区</h2>
                        </div>
                    </div>
                    <div class="dc-block2-bottom">
                        <div class="dc-block2-box">
                            <div class="dc-block2-base price">
                                <div class="dc-block2-btn">
                                    价格播报
                                </div>
                                <div class="dc-block2-time">
                                    最近更新：2023-02-06
                                </div>
                            </div>
                            <div class="dc-block2-info">
                                <div class="dc-block2-info-item">
                                    <div class="dc-block2-info-time">
                                        <span class="date">02-02</span>
                                        <span class="time">09:08</span>
                                        <img class="step" src="/images/dataCenter/step-ico.png" alt="">
                                    </div>
                                    <div class="dc-block2-info-desc">
                                        22年鸡蛋收购价：15%水容重690-720，2450元/吨-2465元/吨
                                    </div>
                                </div>
                                <div class="dc-block2-info-item">
                                    <div class="dc-block2-info-time">
                                        <span class="date">02-02</span>
                                        <span class="time">09:08</span>
                                        <img class="step" src="/images/dataCenter/step-ico.png" alt="">
                                    </div>
                                    <div class="dc-block2-info-desc">
                                        22年鸡蛋收购价：15%水容重690-720，2450元/吨-2465元/吨
                                    </div>
                                </div>
                                <div class="dc-block2-info-item">
                                    <div class="dc-block2-info-time">
                                        <span class="date">02-02</span>
                                        <span class="time">09:08</span>
                                        <img class="step" src="/images/dataCenter/step-ico.png" alt="">
                                    </div>
                                    <div class="dc-block2-info-desc">
                                        22年鸡蛋收购价：15%水容重690-720，2450元/吨-2465元/吨
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="dc-block2-box">
                            <div class="dc-block2-base store">
                                <div class="dc-block2-btn">
                                    库存信息
                                </div>
                                <div class="dc-block2-time">
                                    最近更新：2023-02-06
                                </div>
                            </div>
                            <div class="dc-echars">
                                <div id="store-info-echars" style="width: 346px;height:210px;"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="dc-block3-right">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>利润计算器</h2>
                        </div>
                    </div>
                    <div class="dc-block-bottom">
                        <div class="dc-block2-js-list">
                            <div class="dc-block2-js-item">
                                <img src="/images/dataCenter/cpu1.png" alt="">
                                <p>公路运输</p>
                            </div>
                            <div class="dc-block2-js-item">
                                <img src="/images/dataCenter/cpu2.png" alt="">
                                <p>公路运输</p>
                            </div>
                            <div class="dc-block2-js-item">
                                <img src="/images/dataCenter/cpu3.png" alt="">
                                <p>公路运输</p>
                            </div>
                        </div>
                        <div class="dc-block-js-box">
                            <img src="/images/dataCenter/cpu-bg.png" alt="">
                            <div class="dc-block-js-sr">
                                <div class="dc-block-sr-item">
                                    <span>起点：</span>
                                    <input type="text" value="福州">
                                </div>
                                <div class="dc-block-sr-item">
                                    <span>终点：</span>
                                    <input type="text" value="厦门">
                                </div>
                                <div class="dc-block-sr-item">
                                    <div class="dc-block-sr-btn">
                                        开始计算
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="dc-block3">
                <div class="dc-block2-left">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>行业分析</h2>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            更多 >
                        </a>
                    </div>
                    <div class="dc-block3-bottom">
                        <div class="dc-block3-box">
                            <div class="dc-block3-img">
                                <img src="/images/dataCenter/hyfx-img.png" alt="">
                                <h4 class="dc-block3-img-desc">国内家禽难迎开门红</h4>
                            </div>
                            <div class="dc-block3-list">
                                <ul>
                                    <li>
                                        <a class="dc-block3-item" href="javascript:;">
                                            [2023-01-18] 家禽蛋业缺口大？真相扒开
                                        </a>
                                    </li>
                                    <li>
                                        <a class="dc-block3-item" href="javascript:;">
                                            [2023-01-18] 家禽蛋业缺口大？真相扒开
                                        </a>
                                    </li>
                                    <li>
                                        <a class="dc-block3-item" href="javascript:;">
                                            [2023-01-18] 家禽蛋业缺口大？真相扒开
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="dc-block3-list">
                            <ul>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>

                            </ul>
                        </div>
                    </div>
                </div>
                <div class="dc-block3-right">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>家禽周报</h2>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            更多 >
                        </a>
                    </div>
                    <div class="dc-block3-bottom">
                        <div class="dc-block3-list">
                            <ul class="dc-block3-tsul">
                                <li class="first">
                                    <a class="dc-block3-item" href="javascript:;">
                                        <span>1</span>
                                        <p>[2023-01-18]每吨鸡蛋价格上涨27元，其价格...</p>
                                    </a>
                                </li>
                                <li class="second">
                                    <a class="dc-block3-item" href="javascript:;">
                                        <span>2</span>
                                        <p>[2023-01-18]每吨鸡蛋价格上涨27元，其价格...</p>
                                    </a>
                                </li>
                                <li class="third">
                                    <a class="dc-block3-item" href="javascript:;">
                                        <span>3</span>
                                        <p>[2023-01-18]每吨鸡蛋价格上涨27元，其价格...</p>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        <span>4</span>
                                        <p>[2023-01-18]每吨鸡蛋价格上涨27元，其价格...</p>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        <span>5</span>
                                        <p>[2023-01-18]每吨鸡蛋价格上涨27元，其价格...</p>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        <span>6</span>
                                        <p>[2023-01-18]每吨鸡蛋价格上涨27元，其价格...</p>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="dc-block3 dc-block4">
                <div class="dc-block2-left">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>行情资讯</h2>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            国内动态 · 国际动态
                        </a>
                    </div>
                    <div class="dc-block3-bottom">
                        <div class="dc-block3-box">
                            <div class="dc-block3-img">
                                <img src="/images/dataCenter/hqzx.png" alt="">
                                <h4 class="dc-block3-img-desc">利空减少利多积累家禽行情逐步向好</h4>
                            </div>
                            <div class="dc-block3-list">
                                <div class="dc-block3-list-title">
                                    <h4>国内动态</h4>
                                    <span>|</span>
                                    <a href="javascript:;">12月鸡蛋价格4天上涨45元，且重上站...</a>
                                </div>
                                <ul>
                                    <li>
                                        <a class="dc-block3-item" href="javascript:;">
                                            [2023-01-18] 家禽蛋业缺口大？真相扒开
                                        </a>
                                    </li>
                                    <li>
                                        <a class="dc-block3-item" href="javascript:;">
                                            [2023-01-18] 12月到了！家禽市场会不会复制去年...
                                        </a>
                                    </li>
                                    <li>
                                        <a class="dc-block3-item" href="javascript:;">
                                            [2023-01-18] 家禽蛋业缺口大？真相扒开
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="dc-block3-list">
                            <div class="dc-block3-list-title">
                                <h4>国际动态</h4>
                                <span>|</span>
                                <a href="javascript:;">12月鸡蛋价格4天上涨45元，且重上站...</a>
                            </div>
                            <ul>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block3-item" href="javascript:;">
                                        [2023-01-18] 每吨鸡蛋价格上涨27元，其价格还将进一步...
                                    </a>
                                </li>

                            </ul>
                        </div>
                    </div>
                </div>
                <div class="dc-block3-right">
                    <div class="dc-block-top">
                        <div class="dc-block-title">
                            <h2>宏观数据</h2>
                        </div>
                        <a class="dc-block-more" href="javascript:;">
                            更多 >
                        </a>
                    </div>
                    <div class="dc-block3-bottom">
                        <div class="dc-block3-list">
                            <div class="dc-block3-list-title">
                                <a class="dc-block3-list-btn" href="javascript:;">国内月度供需</a>
                                <a class="dc-block3-list-btn pt" href="javascript:;">国际月度供需</a>
                            </div>
                            <ul>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                                <li>
                                    <a class="dc-block4-item" href="javascript:;">
                                        <p>2022年12月中国农产品供需形势分析...</p>
                                        <span>[2023-01-18]</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 快捷导航 -->
        <div class="quick-nav">
            <div class="quick-nav-box">
                <div class="quick-nav-title">
                    导航
                </div>
                <ul class="quick-nav-list">
                    <li class="quick-nav-item">
                        <a href="/dataCenter/industryInfo.html">
                            行业<br>
                            资讯
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="/dataCenter/priceQuery.html">
                            价格<br>
                            查询
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="/dataCenter/regionalPrice.html">
                            地区<br>
                            差价
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="/dataCenter/priceMap.html">
                            价格<br>
                            地图
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="javascript:;">
                            基差<br>
                            查询
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="javascript:;">
                            物流<br>
                            价格
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="javascript:;">
                            库存<br>
                            查询
                        </a>
                    </li>
                    <li class="quick-nav-item">
                        <a href="/dataCenter/profitCalculation.html">
                            利润<br>
                            计算
                        </a>
                    </li>
                </ul>
                <div class="quick-nav-backtop">
                    <img src="/images/dataCenter/backtop-ico.png" alt="">
                </div>
            </div>
        </div>
    </div>

    <footer id="de-foot">

    </footer>

    <script src="/plugins/jquery.min.js"></script>
    <script src="/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="/plugins/echarts.min.js"></script>
    <script src="/js/common.js"></script>


    <script>
        $(function () {
            // 现货价格 echarts
            var storePrice = echarts.init(document.getElementById('store-price-echars'));
            let storePriceData = [
                [
                    "price",
                    "city",
                    "date"
                ],
                [2700, "fujian", "2023-01-04"],
                [2920, "guangdong", "2023-01-04"],
                [2800, "fujian", "2023-01-05"],
                [2800, "guangdong", "2023-01-05"],
                [2790, "fujian", "2023-01-06"],
                [2670, "guangdong", "2023-01-06"],
                [2700, "fujian", "2023-01-07"],
                [2720, "guangdong", "2023-01-07"],
                [2650, "fujian", "2023-01-08"],
                [2680, "guangdong", "2023-01-08"],
                [2750, "fujian", "2023-01-09"],
                [2710, "guangdong", "2023-01-09"],
                [2820, "fujian", "2023-01-10"],
                [2630, "guangdong", "2023-01-10"],
                [2740, "fujian", "2023-01-11"],
                [2790, "guangdong", "2023-01-11"],
                [2630, "fujian", "2023-01-12"],
                [2930, "guangdong", "2023-01-12"],
                [2780, "fujian", "2023-01-13"],
                [2680, "guangdong", "2023-01-13"],
                [2650, "fujian", "2023-01-14"],
                [2760, "guangdong", "2023-01-14"],
                [2710, "fujian", "2023-01-15"],
                [2800, "guangdong", "2023-01-15"],
                [2650, "fujian", "2023-01-16"],
                [2760, "guangdong", "2023-01-16"],
                [2710, "fujian", "2023-01-17"],
                [2800, "guangdong", "2023-01-17"],

            ]
            let storePriceOption = {
                dataset: [
                    {
                        id: 'dataset_raw',
                        source: storePriceData
                    },
                    {
                        id: 'dataset_storePrice_fujian',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'city', '=': 'fujian' }
                                ]
                            }
                        }
                    },
                    {
                        id: 'dataset_storePrice_guangdong',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'city', '=': 'guangdong' }
                                ]
                            }
                        }
                    }
                ],

                legend: {
                    top: 10,
                    right: 0,
                    itemGap: 30,
                    itemWidth: 16,
                    itemHeight: 6,
                    data: ['福建', '广东'],
                    textStyle: {
                    }
                },
                toolbox: {
                    top: 30,
                    right: 10,
                    show: true,
                    feature: {
                        magicType: {
                            show: true, type: ['line', 'bar'],
                            title: {
                                line: "切换为折线图",
                                bar: "切换为柱状图"

                            }
                        },

                    },
                },
                grid: {
                    left: '3%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                tooltip: {
                    trigger: 'axis'
                },
                xAxis: {
                    type: 'category',
                    nameLocation: 'middle',
                    splitNumber: 3,
                    // axisLabel: {
                    //     interval: 4
                    // }
                },
                yAxis: {
                    name: "（元/吨）",
                    splitNumber: 4,
                    scale: true,
                    nameTextStyle: {
                        color: "rgba(102, 102, 102, 1)",
                        fontSize: 10,
                        align: "right",
                        // padding: [3, 4, 5, 6]
                    }
                },
                series: [
                    {
                        name: '福建',
                        type: 'line',
                        datasetId: 'dataset_storePrice_fujian',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        itemStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'price',
                            itemName: 'date',
                            tooltip: ['price']
                        }
                    },
                    {
                        name: '广东',
                        type: 'line',
                        datasetId: 'dataset_storePrice_guangdong',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(0, 158, 63, 1)"
                        },
                        itemStyle: {
                            color: "rgba(0, 158, 63, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'price',
                            itemName: 'date',
                            tooltip: ['price']
                        }
                    }
                ]
            };
            storePrice.setOption(storePriceOption);



            // 物流价格 echarts
            var logisticsPrice = echarts.init(document.getElementById('logistics-price-echars'));
            let logisticsPriceData = [
                [
                    "price",
                    "city",
                    "date"
                ],
                [5100, "guangdong", "2023-01-04"],
                [5200, "guangdong", "2023-01-05"],
                [5100, "guangdong", "2023-01-06"],
                [5200, "guangdong", "2023-01-07"],
                [5300, "guangdong", "2023-01-08"],
                [5400, "guangdong", "2023-01-09"],
                [5500, "guangdong", "2023-01-10"],
                [5700, "guangdong", "2023-01-11"],
                [6000, "guangdong", "2023-01-12"],
                [5400, "guangdong", "2023-01-13"],
                [5800, "guangdong", "2023-01-14"],
                [5600, "guangdong", "2023-01-15"],
                [5200, "guangdong", "2023-01-16"],
                [5000, "guangdong", "2023-01-17"],
            ]
            let logisticsPriceOption = {
                dataset: [
                    {
                        id: 'dataset_raw',
                        source: logisticsPriceData
                    },
                    {
                        id: 'dataset_logisticsPrice_guangdong',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'city', '=': 'guangdong' }
                                ]
                            }
                        }
                    }
                ],

                legend: {
                    top: 10,
                    right: 0,
                    itemGap: 30,
                    itemWidth: 16,
                    itemHeight: 6,
                    data: ['广东'],
                    textStyle: {
                    }
                },
                grid: {
                    left: '3%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                tooltip: {
                    trigger: 'axis'
                },
                xAxis: {
                    type: 'category',
                    nameLocation: 'middle',
                    splitNumber: 3,
                    // axisLabel: {
                    //     interval: 4
                    // }
                },
                yAxis: {
                    name: "（元/吨）",
                    splitNumber: 4,
                    scale: true,
                    nameTextStyle: {
                        color: "rgba(102, 102, 102, 1)",
                        fontSize: 10,
                        align: "right",
                        // padding: [3, 4, 5, 6]
                    }
                },
                series: [
                    {
                        name: '广东',
                        type: 'line',
                        datasetId: 'dataset_logisticsPrice_guangdong',
                        showSymbol: false,
                        smooth: true,
                        encode: {
                            x: 'date',
                            y: 'price',
                            itemName: 'date',
                            tooltip: ['price']
                        },
                        lineStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        itemStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        areaStyle: {
                            color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                                {
                                    offset: 0,
                                    color: 'rgba(102, 153, 255, 0.5)'
                                },
                                {
                                    offset: 1,
                                    color: 'rgba(102, 153, 255, 0.08)'
                                },
                                {
                                    offset: 1,
                                    color: 'rgba(102, 153, 255, 0.08)'
                                }
                            ])
                        },
                    }
                ]
            };
            logisticsPrice.setOption(logisticsPriceOption);



            // 库存查询 echarts
            var storeQuery = echarts.init(document.getElementById('store-query-echars'));
            let storeQueryData = [
                [
                    "price",
                    "city",
                    "date"
                ],
                [100, "fujian", "2023-01-04"],
                [50, "guangdong", "2023-01-04"],
                [150, "fujian", "2023-01-05"],
                [140, "guangdong", "2023-01-05"],
                [60, "fujian", "2023-01-06"],
                [70, "guangdong", "2023-01-06"],
                [50, "fujian", "2023-01-07"],
                [40, "guangdong", "2023-01-07"],
                [30, "fujian", "2023-01-08"],
                [100, "guangdong", "2023-01-08"],
                [110, "fujian", "2023-01-09"],
                [120, "guangdong", "2023-01-09"],
                [130, "fujian", "2023-01-10"],
                [60, "guangdong", "2023-01-10"],
                [80, "fujian", "2023-01-11"],
                [70, "guangdong", "2023-01-11"],
                [60, "fujian", "2023-01-12"],
                [100, "guangdong", "2023-01-12"],
                [80, "fujian", "2023-01-13"],
                [70, "guangdong", "2023-01-13"],
                [50, "fujian", "2023-01-14"],
                [40, "guangdong", "2023-01-14"],
                [85, "fujian", "2023-01-15"],
                [64, "guangdong", "2023-01-15"],
                [75, "fujian", "2023-01-16"],
                [60, "guangdong", "2023-01-16"],
                [55, "fujian", "2023-01-17"],
                [70, "guangdong", "2023-01-17"],
            ]
            let storeQueryOption = {
                dataset: [
                    {
                        id: 'dataset_raw',
                        source: storeQueryData
                    },
                    {
                        id: 'dataset_storeQuery_fujian',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'city', '=': 'fujian' }
                                ]
                            }
                        }
                    },
                    {
                        id: 'dataset_storeQuery_guangdong',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'city', '=': 'guangdong' }
                                ]
                            }
                        }
                    }
                ],

                legend: {
                    top: 10,
                    right: 0,
                    itemGap: 30,
                    itemWidth: 16,
                    itemHeight: 6,
                    data: ['福建', '广东'],
                    textStyle: {
                    }
                },
                toolbox: {
                    top: 30,
                    right: 10,
                    show: true,
                    feature: {
                        magicType: {
                            show: true, type: ['line', 'bar'],
                            title: {
                                line: "切换为折线图",
                                bar: "切换为柱状图"

                            }
                        },

                    },
                },
                grid: {
                    left: '3%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                tooltip: {
                    trigger: 'axis'
                },
                xAxis: {
                    type: 'category',
                    nameLocation: 'middle',
                    splitNumber: 3,
                    // axisLabel: {
                    //     interval: 4
                    // }
                },
                yAxis: {
                    name: "（万/吨）",
                    splitNumber: 4,
                    nameTextStyle: {
                        color: "rgba(102, 102, 102, 1)",
                        fontSize: 10,
                        align: "right",
                        // padding: [3, 4, 5, 6]
                    }
                },
                series: [
                    {
                        name: '福建',
                        type: 'line',
                        datasetId: 'dataset_storeQuery_fujian',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        itemStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'price',
                            itemName: 'date',
                            tooltip: ['price']
                        }
                    },
                    {
                        name: '广东',
                        type: 'line',
                        datasetId: 'dataset_storeQuery_guangdong',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(0, 158, 63, 1)"
                        },
                        itemStyle: {
                            color: "rgba(0, 158, 63, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'price',
                            itemName: 'date',
                            tooltip: ['price']
                        }
                    }
                ]
            };
            storeQuery.setOption(storeQueryOption);



            // 库存信息 echarts
            var storeInfo = echarts.init(document.getElementById('store-info-echars'));
            let storeInfoData = [
                [
                    "num",
                    "store",
                    "date"
                ],
                [10, "day", "2023-01-04"],
                [100, "week", "2023-01-04"],
                [106, "month", "2023-01-04"],
                [5, "day", "2023-01-05"],
                [50, "week", "2023-01-05"],
                [60, "month", "2023-01-05"],
                [6, "day", "2023-01-06"],
                [80, "week", "2023-01-06"],
                [90, "month", "2023-01-06"],
                [8, "day", "2023-01-07"],
                [90, "week", "2023-01-07"],
                [110, "month", "2023-01-07"],
                [5, "day", "2023-01-08"],
                [120, "week", "2023-01-08"],
                [90, "month", "2023-01-08"],

            ]
            let storeInfoOption = {
                dataset: [
                    {
                        id: 'dataset_raw',
                        source: storeInfoData
                    },
                    {
                        id: 'dataset_storeInfo_day',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'store', '=': 'day' }
                                ]
                            }
                        }
                    },
                    {
                        id: 'dataset_storeInfo_week',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'store', '=': 'week' }
                                ]
                            }
                        }
                    },
                    {
                        id: 'dataset_storeInfo_month',
                        fromDatasetId: 'dataset_raw',
                        transform: {
                            type: 'filter',
                            config: {
                                and: [
                                    { dimension: 'store', '=': 'month' }
                                ]
                            }
                        }
                    }
                ],

                legend: {
                    top: 10,
                    right: 0,
                    itemGap: 30,
                    itemWidth: 16,
                    itemHeight: 6,
                    data: ['日库存', '周库存', "月库存"],
                    textStyle: {
                    }
                },
                toolbox: {
                    top: 30,
                    right: 10,
                    show: true,
                    feature: {
                        magicType: {
                            show: true, type: ['line', 'bar'],
                            title: {
                                line: "切换为折线图",
                                bar: "切换为柱状图"

                            }
                        },

                    },
                },
                grid: {
                    left: '3%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                tooltip: {
                    trigger: 'axis'
                },
                xAxis: {
                    type: 'category',
                    nameLocation: 'middle',
                    splitNumber: 3,
                    // axisLabel: {
                    //     interval: 4
                    // }
                },
                yAxis: {
                    name: "（万/吨）",
                    splitNumber: 4,
                    nameTextStyle: {
                        color: "rgba(102, 102, 102, 1)",
                        fontSize: 10,
                        align: "right",
                        // padding: [3, 4, 5, 6]
                    }
                },
                series: [
                    {
                        name: '日库存',
                        type: 'line',
                        datasetId: 'dataset_storeInfo_day',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(255, 141, 26, 1)"
                        },
                        itemStyle: {
                            color: "rgba(255, 141, 26, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'num',
                            itemName: 'date',
                            tooltip: ['num']
                        }
                    },
                    {
                        name: '周库存',
                        type: 'line',
                        datasetId: 'dataset_storeInfo_week',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        itemStyle: {
                            color: "rgba(24, 109, 245, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'num',
                            itemName: 'date',
                            tooltip: ['num']
                        }
                    },
                    {
                        name: '月库存',
                        type: 'line',
                        datasetId: 'dataset_storeInfo_month',
                        showSymbol: false,
                        smooth: true,
                        lineStyle: {
                            color: "rgba(0, 158, 63, 1)"
                        },
                        itemStyle: {
                            color: "rgba(0, 158, 63, 1)"
                        },
                        encode: {
                            x: 'date',
                            y: 'num',
                            itemName: 'date',
                            tooltip: ['num']
                        }
                    }
                ]
            };
            storeInfo.setOption(storeInfoOption);


        })
    </script>
</body>

</html>